//package com.rose.mall.seckill.schedule;
//
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.scheduling.annotation.Async;
//import org.springframework.scheduling.annotation.EnableAsync;
//import org.springframework.scheduling.annotation.EnableScheduling;
//import org.springframework.scheduling.annotation.Scheduled;
//import org.springframework.stereotype.Component;
//
///**
// * @author rose
// * @create 2022/3/14
// */
//@Slf4j
//@Component
//@EnableScheduling
//@EnableAsync
//public class HelloSchedule {
//
//    @Async
//    @Scheduled(cron = "*/5 * * ? * 1")
//    public void hello(){
//        log.info("i love you...");
//        try {
//            Thread.sleep(3000);
//        } catch (InterruptedException e) { }
//    }
//}
